/// totalSalary : 57370.0
/// singleQuantity : 492.0
/// teamQuantity : 10490.0
/// workDate : "2024"

class WorkRecord {
  WorkRecord({
      double? totalSalary,
      double? singleQuantity,
      double? teamQuantity,
      String? workDate,}){
    _totalSalary = totalSalary;
    _singleQuantity = singleQuantity;
    _teamQuantity = teamQuantity;
    _workDate = workDate;
}

  WorkRecord.fromJson(dynamic json) {
    _totalSalary = json['totalSalary'];
    _singleQuantity = json['singleQuantity'];
    _teamQuantity = json['teamQuantity'];
    _workDate = json['workDate'];
  }
  double? _totalSalary;
  double? _singleQuantity;
  double? _teamQuantity;
  String? _workDate;
WorkRecord copyWith({  double? totalSalary,
  double? singleQuantity,
  double? teamQuantity,
  String? workDate,
}) => WorkRecord(  totalSalary: totalSalary ?? _totalSalary,
  singleQuantity: singleQuantity ?? _singleQuantity,
  teamQuantity: teamQuantity ?? _teamQuantity,
  workDate: workDate ?? _workDate,
);
  double? get totalSalary => _totalSalary;
  double? get singleQuantity => _singleQuantity;
  double? get teamQuantity => _teamQuantity;
  String? get workDate => _workDate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['totalSalary'] = _totalSalary;
    map['singleQuantity'] = _singleQuantity;
    map['teamQuantity'] = _teamQuantity;
    map['workDate'] = _workDate;
    return map;
  }

}